import request from '@/utils/http'
// 保存报告
export const saveReport = (params: any) => {
  return request.post({
    url: '/api/patient/indicator/report/saveReport',
    data: params
  })
}

// 新指标保存
export const saveNewIndicator = (params: any) => {
  return request.post({
    url: '/api/signs/info/new_save',
    data: params
  })
}

// 尿酸、血酮、血脂、肝功能 明细
export const getNewDetail = (params: any) => {
  return request.get({
    url: `/api/patient/indicator/report/queryUserHisReportDetail?empi=${params.empi}&indicatorKey=${params.indicatorKey}`
  })
}

export const getWaterSleepDetail = (params: any) => {
  return request.post({
    url: `/api/signs/info/ext/detail`,
    data: params
  })
}
